-- GENERATED SPELL FOR [Misguided Nymph] --


function spell0_33355(pUnit, Event) --@Bind Life,Heal--
pUnit:FullCastSpellOnTarget(63082,pUnit)
pUnit:RegisterEvent('Sorts_33355', 7500, 1)
end

function spell1_33355(pUnit, Event) --@Bind Life,Heal--
pUnit:FullCastSpellOnTarget(63559,pUnit)
pUnit:RegisterEvent('Sorts_33355', 7500, 1)
end

function spell2_33355(pUnit, Event) --@Frost Spear,n/a--
pUnit:FullCastSpellOnTarget(63111,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33355', 580, 1)
end

function spell3_33355(pUnit, Event) --@Frost Spear,n/a--
pUnit:FullCastSpellOnTarget(63562,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33355', 622, 1)
end

function spell4_33355(pUnit, Event) --@Winter\'s Embrace,n/a--
pUnit:FullCastSpellOnTarget(63136,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33355', 571, 1)
end

function spell5_33355(pUnit, Event) --@Winter\'s Embrace,n/a--
pUnit:FullCastSpellOnTarget(63564,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_33355', 545, 1)
end

function Sorts_33355(pUnit, Event)
local choix_sorts_33355 = math.random(0, 5)
if choix_sorts_33355 == 0 then
pUnit:RegisterEvent('spell0_33355', 1, 1)
end
if choix_sorts_33355 == 1 then
pUnit:RegisterEvent('spell1_33355', 1, 1)
end
if choix_sorts_33355 == 2 then
pUnit:RegisterEvent('spell2_33355', 1, 1)
end
if choix_sorts_33355 == 3 then
pUnit:RegisterEvent('spell3_33355', 1, 1)
end
if choix_sorts_33355 == 4 then
pUnit:RegisterEvent('spell4_33355', 1, 1)
end
if choix_sorts_33355 == 5 then
pUnit:RegisterEvent('spell5_33355', 1, 1)
end
end

function mob33355_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_33355', math.random(1500, 3000), 1)
end

function mob33355_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33355_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob33355_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(33355, 1, 'mob33355_Action')
RegisterUnitEvent(33355, 2, 'mob33355_Leave')
RegisterUnitEvent(33355, 3, 'mob33355_Kill')
RegisterUnitEvent(33355, 4, 'mob33355_Die')
